<?php
    //comprobamos la sesión
    include ("../logic/comprobarSesion.php");
    noSesion();

    //incluimos el acceso a las BBDD necesarias
    include '../bbdd/usuariosBbdd.php'; 
    include '../bbdd/planesBbdd.php';
    include '../bbdd/mensajesBbdd.php';
    include '../bbdd/ofertasBbdd.php';
    include '../bbdd/blogBbdd.php';
    include '../logic/funcionesChachis.php';
//    include '../logic/funcionesFechas.php';
    include '../logic/iframeYoutube.php';
    include '../bbdd/denunciasBbdd.php';
      
    function colorValoracion($valoracion) {
        switch($valoracion) {
            case 1:
                echo "red";
                break;
            case 2:
                echo "#FF6B00";
                break;
            case 3:
                echo "#FF9E00";
                break;
            case 4:
                echo "#FFE600";
                break;
            case 5:
                echo "yellow";
                break;
            default:
                echo "blue";
        }
    }

    $GLOBALS['misProyectos'] = 0;

?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
        
        <!-- JQuery -->
        <script type="text/javascript" src="../jquery/jquery-1.10.1.min.js"></script>
        
         <!-- Datepicker -->
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
        <script src="../datepicker/jquery-ui.js"></script>
        
        <!-- Latest compiled and minified CSS -->
        <link rel="stylesheet" href="../bootstrap/css/bootstrap.css">

        <!-- Latest compiled and minified JavaScript -->
        <script src="../bootstrap/js/bootstrap.min.js"></script>
        
        <!-- mis estilos -->
        <link rel="stylesheet" type="text/css" href="../css/estilos.css">
        <link rel="shortcut icon" type="image/x-icon" href="../img/favicon.ico" />